Communication system, communication device, and non-transitory computer-readable storage medium storing instructions for information processing device

ABSTRACT

A communication system may comprise an information processing device and a communication device. Communication between the communication device and the information processing device using the first wireless communication scheme may be performed. The communication device may send the connectable network identification information to the information processing device. Communication between the information processing device and the communication device using the second wireless communication scheme and using the second network may be executed, in case that the first network is not included in one or more networks identified by the connectable network identification information. Communication between the information processing device and the communication device using the second wireless communication scheme and using the first network may be executed, in case that the first network is included in the one or more networks identified by the one or more connectable network identification information.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation application of U.S. patentapplication Ser. No. 17/098,525 filed on Nov. 16, 2020, which is acontinuation application of U.S. patent application Ser. No. 16/699,279filed on Nov. 29, 2019, now issued as U.S. Pat. No. 10,853,009, which isa continuation application of U.S. patent application Ser. No.16/205,324 filed on Nov. 30, 2018, now issued as U.S. Pat. No.10,528,306, which is a continuation of U.S. patent application Ser. No.15/714,321, filed on Sep. 25, 2017, now issued as U.S. Pat. No.10,191,700, which is a continuation of U.S. patent application Ser. No.15/153,523, filed on May 12, 2016, now issued as U.S. Pat. No.9,830,118, which is a continuation application of U.S. patentapplication Ser. No. 14/580,473, filed on Dec. 23, 2014, now issued asU.S. Pat. No. 9,350,813, which claims priority to Japanese PatentApplication No. 2013-271752, filed on Dec. 27, 2013, the entire contentsof each of which are hereby incorporated by reference into the presentapplication.

TECHNICAL FIELD

The technique disclosed in the present specification relates to acommunication system, a communication device, and an informationprocessing program for performing a communication with a communicationdevice.

DESCRIPTION OF RELATED ART

A system is disclosed which includes a gate installed in a museum or thelike, a mobile communication terminal, an access point, and a contentserver. The gate includes a reader writer, and performs a communicationwith a contactless IC chip of the mobile communication terminal to sendan SSID of the access point and a URL of the content server to themobile communication terminal. The mobile communication terminalestablishes a communication with the access point, and accesses the URLof the content server. Thereby, the mobile communication terminal canacquire content data from the content server via the access point.

SUMMARY

The present specification discloses a technique enabling an informationprocessing device and a communication device to appropriately perform awireless communication of target data.

One technique disclosed in the present application is a communicationsystem comprising an information processing device and a communicationdevice. The communication device may comprise a first interfaceconfigured to perform communication with the information processingdevice using a first wireless communication scheme. The first interfacemay be configured to function as an Integrated Circuit tag. Thecommunication device may comprise a second interface configured toperform communication with the information processing device using asecond wireless communication scheme. The communication device maycomprise a first control device coupled to the first interface and thesecond interface. The information processing device may comprise a thirdinterface configured to perform communication with the communicationdevice by using the first wireless communication scheme. The informationprocessing device may comprise a fourth interface configured to performcommunication with the communication device by using the second wirelesscommunication scheme. The information processing device may comprise asecond control device coupled to the third interface and the fourthinterface. The first control device may be configured to performstoring, in the first interface, one or more connectable networkidentification information from among a plurality of networkidentification information. The plurality of network identificationinformation may indicate various types of networks. Each connectablenetwork identification information may indicate a network to which thecommunication device is set to be connectable. The plurality of networkidentification information may include first network identificationinformation for identifying a first network formed by a relay device.The plurality of network identification information may include secondnetwork identification information for identifying a second network fordirectly performing communication between the information processingdevice and the communication device. The first and second control devicemay be configured to perform executing communication between the firstinterface of the communication device and the third interface of theinformation processing device using the first wireless communicationscheme. The first control device may be configured to perform sendingthe one or more connectable network identification information as storedin the first interface to the information processing device. The firstand second control device may be further configured to perform executingcommunication between the fourth interface of the information processingdevice and the second interface of the communication device using thesecond wireless communication scheme and using the second networkidentified by the second network identification information that wasincluded in the connectable network identification information that wassent to the information processing device, in case that the firstnetwork to which the information processing device belongs is notincluded in one or more networks identified by the one or moreconnectable network identification information sent to the informationprocessing device. The first and second control device may be configuredto perform executing communication between the fourth interface of theinformation processing device and the second interface of thecommunication device using the second wireless communication scheme andusing the first network to which the information processing devicebelongs, in case that the first network to which the informationprocessing device belongs is included in the one or more networksidentified by the one or more connectable network identificationinformation sent to the information processing device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows the structure of a communication system;

FIGS. 2 to 4 show flowcharts of processes performed by an informationprocessing device; and

FIGS. 5 to 7 show flowcharts of processes performed by an MFP.

DETAILED DESCRIPTION

(Structure of Network 10)

FIG. 1 is a block view showing the structure of a network 10. Thenetwork 10 comprises an information processing device 100, MFPs 51 and52, a first access point 501, and a second access point 502. Here, MFPindicates a multifunction peripheral device (also called MultifunctionPeripheral) comprising a print function, scan function, and copyfunction.

An NFC communication I/F 112 of the information processing device 100can perform a communication with an NFC communication I/F 36 of the MFP51 via an NFC (abbreviation of Near Field Communication) scheme wirelesscommunication 153. In the present embodiment, wireless communication isperformed according to the NFC scheme based on International StandardISO/IEC 21481 or 18092.

A wireless LAN_I/F 105 of the information processing device 100 cancommunicate with a wireless LAN_I/F 34 of the MFP 51 via infrastructuremode wireless communications 151 and 154. Further, the wireless LAN_I/F105 can communicate with the MFP 52 via an infrastructure mode wirelesscommunication 152. Further, the wireless LAN_I/F 105 can directlyperform a communication with the wireless LAN_I/F 34 of the MFP 51 via aWiFi Direct (referred to as WFD below) scheme wireless communication155. That is, the information processing device 100 can construct a WFDnetwork by establishing a connection with the MFP 51 in accordance withthe WFD scheme. In WFD, wireless communication is performed based on thestandard of 802.11 of IEEE (abbreviation of The Institute of Electricaland Electronics Engineers, Inc.), and a standard (e.g., 802.11a, 11b,11g, or 11n) equivalent to this standard. Further, a bluetooth(registered trademark of Bluetooth SGI Inc. Same below.) communicationI/F 113 of the information processing device 100 can perform acommunication with a bluetooth communication I/F 40 of the MFP 51 via abluetooth scheme wireless communication 156.

Each of the first access point 501 and the second access point 502 hasan SSID (abbreviation of Service Set Identifier). The SSID is a name foridentifying each of the first access point 501 and the second accesspoint 502. By executing a print application 121, the informationprocessing device 100 can send a print request or scan request to theMFPs 51 and 52 by a communication using the wireless LAN_I/F 105 or acommunication using the bluetooth communication I/F 113.

(Structure of Information Processing Device 100)

The information processing device 100 is a portable device such as amobile phone or a portable terminal device. The information processingdevice 100 comprises a display means 102, a touch panel 103, an inputI/F 104, the wireless LAN_I/F 105, the NFC communication I/F 112, thebluetooth communication I/F 113, a CPU (abbreviation of CentralProcessing Unit) 106, a ROM (abbreviation of Read Only Memory) 107, aRAM (abbreviation of Random Access Memory) 108, a storage unit 109,etc., which are connected with one another via an input/output port 110.

The display means 102 receives an image signal output from the CPU 106,and displays an image based on the received image signal. An LCD, anorganic EL panel, etc. may be used as the display means 102. The touchpanel 103 is formed of a transparent member, and is disposed so as tocover a surface of the display means 102. The touch panel 103 detects aposition touched by the finger or the like of the user, and outputsdetected position information to the CPU 106. The input I/F 104 is,e.g., an operation button.

The NFC communication I/F 112 is an interface for performing the NFCscheme wireless communication 153. Various information for communicationsettings (e.g., IP address, SSID, etc.) are not required in order toestablish the NFC scheme wireless communication 153. The wirelessLAN_I/F 105 is an interface for performing wireless LAN scheme wirelesscommunications 151, 152, 155. A communicable distance of the wirelessLAN scheme wireless communications 151, 152, 155 is greater than acommunicable distance of the NFC scheme wireless communication 153.Further, a communication speed of the wireless LAN scheme wirelesscommunications 151, 152, 155 is faster than a communication speed of theNFC scheme wireless communication 153. The bluetooth communication I/F113 is an interface for performing the bluetooth scheme wirelesscommunication 156.

The CPU 106 executes programs stored in the storage unit 109. The RAM108 temporarily stores information needed for the processes of the CPU106. The storage unit 109 is configured such that a flash memory, HDD(abbreviation of Hard Disk Drive), and a buffer or the like provided inthe CPU 106, are combined. Image data, document data, etc. can be storedin the storage unit 109. Further, the storage unit 109 is capable ofstoring access point connection history information. The access pointconnection history information is information (e.g., an SSID) foridentifying an access point with which the information processing device100 has connected in the past.

Further, the storage unit 109 stores a program 120. The program 120includes the print application 121, a connection module 122, and anoperating system 124 (referred to as OS 124 below). The CPU 106 executesprocesses in accordance with the program 120. Hereafter, the CPU 106executing a program such as the print application 121, the connectionmodule 122, the OS 124, etc. may be described simply by the programname. For example, the description “the print application 121” may mean“the CPU 106 that executes the print application 121”.

The print application 121 is an application for causing the CPU 106 toperform a process of sending a print request or scan request from theinformation processing device 100 to the MFP 51, the MFP 52, or thelike. The print request is information for causing the MFP 51, the MFP52, or the like to perform a print process. The scan request isinformation for causing the MFP 51, the MFP 52, or the like to perform ascan process.

The connection module 122 is a program that executes a process toconnect the information processing device 100 with various networks viaa wireless communication. The connection module 122 may be a programthat is called and executed in various applications such as the printapplication 121. That is, the connection module 122 may function as alower-level application that provides a communication function to ahigher-level application (e.g., the print application 121) that providesa function close to the user.

The OS 124 is a program that provides a basic function of which use isshared by the print application 121, etc. The OS 124 includes a programfor causing the wireless LAN_I/F 105, the NFC communication I/F 112, andthe bluetooth communication I/F 113 to perform a wireless communication.Further, the OS 124 is also a program that provides an API (abbreviationof Application Programming Interface) for each program to acquireinformation acquired by hardware, or for each program to instructvarious hardware.

(Structure of MFP 51)

The structure of the MFP 51 will be described. The MFP 51 mainlycomprises a CPU 32, a storage unit 33, the wireless LAN_I/F 34, the NFCcommunication I/F 36, the bluetooth communication I/F 40, a button inputunit 38, a panel 39, a printer 19, and a scanner 20. These structuralelements are capable of communicating with one another via aninput/output port 43.

The CPU 32 executes a program 21 stored in the storage unit 33. Thestorage unit 33 is configured such that a RAM, ROM, flash memory, HDD(abbreviation of Hard Disk Drive), and a buffer or the like provided ina CPU 32 are combined. The storage unit 33 stores the program 21. Theprogram 21 includes an OS 29, etc.

The wireless LAN_I/F 34 is an interface for performing infrastructuremode wireless communications 154 and 157, and the WFD scheme wirelesscommunication 155. The bluetooth communication I/F 40 is an interfacefor performing the bluetooth scheme wireless communication 156.

The NFC communication I/F 36 is an interface for performing a wirelesscommunication 153 in accordance with the NFC (abbreviation of Near FieldCommunication) scheme for so-called short distance wirelesscommunication. The NFC scheme, for example, is a wireless communicationscheme based on International Standard ISO/IEC 21481 or 18092. An I/Fcalled an NFC forum device, and an I/F called an NFC forum tag are knownas types of I/F for performing an NFC communication. The NFCcommunication I/F 36 is an NFC forum tag, and functions as an IC(abbreviation of Integrated Circuit) tag of the NFC standard (i.e.,ISO/IEC 21481 or 18092).

The NFC communication I/F 36 comprises a storage unit 37. The storageunit 37 is a memory for storing sending information supplied from theCPU 32 for a long period in order to send this sending information to anexternal device (e.g., the information processing device 100). Thestorage unit 37 may be a non-volatile memory. The NFC communication I/F36 can use an RF communication mode and a serial communication mode. Inthe RF communication mode, the sending information can be sent to anexternal device. In the serial communication mode, the sendinginformation can be sent from the CPU 32 to the storage unit 37.

An example of the contents of the sending information stored in thestorage unit 37 will be shown. The sending information includes sendinginformation identification information, communication executioninformation, device type identification information, device statusinformation, connectable network identification information, etc. Thesending information identification information is information indicatingthat the sending information is information used in the printapplication 121. The sending information identification information maybe a predetermined character string. The communication executioninformation is information indicating that the sending information isinformation for performing the setting of the wireless communication.The communication execution information may be a predetermined characterstring. The device type identification information is information foridentifying the device type of the MFP 51. The device typeidentification information may be a model name of the MFP 51. The devicestatus information is information indicating device status of the MFP51. Examples of the information included in the device statusinformation are the contents of an error that occurred in the MFP 51,remaining amount of ink in the printer 19, etc.

The connectable network identification information is informationindicating whether there is a network configured to be connectable withthe MFP 51. Further, in case there is a network that is configured to beconnectable with the MFP 51, the connectable network identificationinformation functions as information for identifying the network that isconfigured to be connectable. The “network that is configured to beconnectable with the MFP 51” is, e.g., a network for which a connectionsetting of the MFP 51 is set to “connectable”. The connection settingmay be stored in the storage unit 33. The connection setting may be setto each of the infrastructure mode, WFD scheme, or the bluetooth scheme.The connection setting may be performed by the user, or may be performedautomatically by the CPU 32. For example, in case the only network thatis connectable with the MFP 51 is a network formed by a wirelesscommunication with the infrastructure mode, the infrastructure modeconnection setting may be set to “connectable”, and the WFD scheme andbluetooth scheme connection settings may be set to “not-connectable”.The state of the connection setting being set to “connectable” may be astate where a wireless communication function in the infrastructure modeusing the wireless LAN_I/F 34 has been enabled, a state where a wirelesscommunication function in the WFD scheme using the wireless LAN_I/F 34has been enabled, or a state where a wireless communication functionusing the bluetooth communication I/F 40 has been enabled.

The connectable network identification information may include at leastany one of first to fifth network identification information shownbelow. Further, communication destination identification informationneeded to perform communication with the MFP 51 may be included in eachof the first to fourth network identification information.

The first network identification information is information identifyinga network formed by the infrastructure mode wireless communication 154.Communication destination identification information (e.g., the SSID ofthe first access point 501) for connecting with the MFP 51 using theinfrastructure mode wireless communication 154 is included in the firstnetwork identification information. Further, communication destinationidentification information for identifying the MFP 51 (e.g., node nameof the MFP 51) is included in the first network identificationinformation.

The second network identification information is information identifyinga network formed by the WFD scheme wireless communication 155.Communication destination identification information for connecting withthe MFP 51 by the WFD scheme wireless communication 155 is included inthe second network identification information. Examples of this type ofcommunication destination identification information are an SSID of theWFD network, encryption method, password, etc. The encryption method andpassword is information for performing device authentication, dataencryption, etc. in the WFD network.

The third network identification information is information identifyinga network formed by the bluetooth scheme wireless communication 156.Communication destination identification information for connecting withthe MFP 51 by the bluetooth scheme wireless communication 156 isincluded in the third network identification information. An example ofthis type of communication destination identification information is aMAC address.

The fourth network identification information is information identifyinga network formed by the wireless LAN scheme wireless communication 157.Communication destination identification information for connecting withthe second access point 502 (e.g., the SSID of the second access point502), and communication destination identification information foraccessing the MFP 51 (e.g., the node name of the MFP 51) are included inthe fourth network identification information.

The fifth network identification information is information indicatingthat a network set so as to be connectable with the MFP 51 does notexist. The fifth network identification information may be apredetermined character string.

The button input unit 38 is a key to perform the functions of the MFP51. The button input unit 38 may be configured integrally with the panel39 as a touch panel. The panel 39 displays various function informationof the MFP 51. The printer 19 is a member that executes a print processusing image data stored in the storage unit 33. The scanner 20 is amember that executes a scan process of reading a document to generatescan data. Moreover, the MFP 52 also has a structure similar to the MFP51. However, in order to simplify the figures, the MFP 52 is omitted inFIG. 1.

(Processes Performed by MFP 51; FIG. 5 to FIG. 7)

Next, processes performed by the MFP 51 of the present embodiment willbe described with reference to FIG. 5 to FIG. 7. In the description ofthe present embodiment, a case is described in which, from among theinfrastructure mode wireless communications 154 and 157, a setting touse the infrastructure mode wireless communication 154 is performed onthe MFP 51.

In S405, the CPU 32 executes an initialization process of the MFP 51. Inthe initialization process, for example, a wireless communication may beestablished in accordance with the connection setting stored in thestorage unit 33. In S410, the CPU 32 executes a rewriting process of thesending information stored in the storage unit 37 in the NFCcommunication I/F 36.

The contents of the rewriting process of the sending information will bedescribed using FIG. 7. In S510, the CPU 32 makes an inquiry about stateto the wireless LAN_I/F 34 and the bluetooth communication I/F 40. InS515, the CPU 32 determines whether response information has beenreceived from the wireless LAN I/F 34 and the bluetooth communicationI/F 40. If a negative determination is made (S515: NO), the processreturns to S515, and if a positive determination is made (S515: YES),the process proceeds to S520.

In S520, the CPU 32 determines whether the MFP 51 is set so as to enablethe wireless LAN_I/F 34. For example, in case response informationindicating an enabled state is received from the wireless LAN_I/F 34,and the connection setting of a network formed by at least one of thewireless communication 154 or 155 is set to “connectable”, it may bedetermined that a setting to enable the wireless LAN_I/F 34 is beingperformed. If a positive determination is made (S520: YES), the processproceeds to S530.

In S530, the CPU 32 determines the type of wireless communication forwhich the enabling settings are being performed. Specifically, the CPU32 determines whether settings enabling both the WFD scheme wirelesscommunication 155 and the infrastructure mode wireless communication 154are being performed, or whether a setting enabling only theinfrastructure mode wireless communication 154 is being performed. Ifsettings enabling wireless communication of both schemes are beingperformed (S530: WFD and infrastructure), the process proceeds to S540.

In S540, the CPU 32 newly generates sending information. Specifically,the CPU 32 includes the first network identification information (i.e.,information identifying the infrastructure mode wireless communication154), and the second network identification information (i.e.,information identifying the WFD scheme wireless communication 155) inthe connectable network identification information. The connectablenetwork identification information is information included in thesending information that is generated. Since the contents of the firstand the second network identification information have already beendescribed, a description thereof is omitted here. Then, the CPU 32overwrites the generated sending information in the storage unit 37using the serial communication mode. Then, the rewriting process of thesending information is ended.

On the other hand, if settings enabling only the infrastructure modewireless communication 154 are being performed (S530: infrastructure),the process proceeds to S535. In S535, the CPU 32 newly generatessending information. Specifically, the CPU 32 includes the first networkidentification information (i.e., the information for identifying theinfrastructure mode wireless communication 154) in the connectablenetwork identification information. The connectable networkidentification information is information included in the sendinginformation that is generated. Then, the CPU 32 overwrites the generatedsending information in the storage unit 37 using the serialcommunication mode. Then, the rewriting process of the sendinginformation is ended.

On the other hand, if a negative determination is made in S520 (S520:NO), the process proceeds to S522. In S522, the CPU 32 determineswhether a setting enabling the bluetooth communication I/F 40 is beingperformed. For example, if response information indicating the enabledstate is received from the bluetooth communication I/F 40, and theconnection setting of the wireless communication 156 has been set to“connectable”, it may be determined that a setting enabling thebluetooth communication I/F 40 is being performed. If a positivedetermination is made (S522: YES), the process proceeds to S523. InS523, the CPU 32 newly generates sending information. Specifically, theCPU 32 includes the third network identification information (i.e.,information identifying the bluetooth scheme wireless communication 156)in the connectable network identification information. The connectablenetwork identification information is information included in thesending information that is generated. Then, the CPU 32 overwrites thegenerated sending information in the storage unit 37 using the serialcommunication mode. Then, the rewriting process of the sendinginformation is ended.

On the other hand, if a negative determination is made in S522 (S522:NO), the process proceeds to S525. In S525, the CPU 32 newly generatessending information. Specifically, the CPU 32 includes the fifth networkidentification information (i.e., information identifying that a networkconfigured to be connectable with the MFP 51 does not exist) in theconnectable network identification information. The connectable networkidentification information is information included in the sendinginformation that is generated. Then, the CPU 32 overwrites the generatedsending information in the storage unit 37 using the serialcommunication mode. Then, the rewriting process of the sendinginformation is ended.

In S413 of FIG. 5, the NFC communication I/F 36 determines whether an RFcommunication mode command has been received. The RF communication modecommand is information for instructing the start of the NFC schemewireless communication 153. Reception of the RF communication modecommand is initiated by an NFC communication I/F provided in a devicethat is the communication destination approaching a predetermineddistance around the NFC communication I/F 36 provided in the MFP 51. Thepredetermined distance may be, for example, approximately 10 cm. If anegative determination is made (S413: NO), the process proceeds to S415.

In S415, the CPU 32 determines whether the error of the MFP 51 detectedin S437 or S440 (to be described) has been resolved. If the error hasbeen resolved (S415: YES), the CPU 32 executes a rewriting process(S416) to rewrite, into new sending information, the sending informationthat included the device status information including the error contentsand that stored in the storage unit 37 in the NFC communication I/F 36.Since the contents of the rewriting process have already been describedusing FIG. 7, a description thereof is omitted here. Upon ending theprocess of S416, the CPU 32 moves to the process of S420. Further, if itis determined in S415 that the error has not been resolved (S415: NO),the CPU 32 moves to the process of S420.

On the other hand, if a positive determination is made in S413 (S413:YES), the process proceeds to S417. In S417, the NFC communication I/F36 sends the sending information stored in the storage unit 37 to thecommunication destination device via the NFC scheme wirelesscommunication 153, using the RF communication mode.

In S420, the CPU 32 determines whether the input of an instruction toturn off the power supply has been received. The input of thisinstruction may be received by pressing a power supply button (notshown) provided on the button input unit 38. If a positive determinationis made (S420: YES), the process proceeds to S450. In S450, the CPU 32newly generates sending information. Specifically, the CPU 32 includesthe fifth network identification information (i.e., informationidentifying that a network set to be connectable with the MFP 51 doesnot exist) in the connectable network identification information. Theconnectable network identification information is information includedin the sending information that is generated. Then, the CPU 32overwrites the generated sending information in the storage unit 37using the serial communication mode. In S455, the CPU 32 executes aprocess to turn off the power supply of the MFP 51. Then, the flow isended.

On the other hand, if a negative determination is made in S420 (S420:NO), the process proceeds to S422. In S422, the CPU 32 determineswhether the error state detected in S437 or S440 (to be described) iscontinuing. If a positive determination is made (S422: YES), the processreturns to S413, and if a negative determination is made (S422: NO), theprocess moves to S425. Thereby, the state of the sending informationincluding the error information being stored in the storage unit 37 canbe maintained while the error state of the MFP 51 is continuing.

In S425, the CPU 32 determines whether the network that is configured tobe connectable with the MFP 51 has been changed. The determination maybe performed by, e.g., monitoring whether the contents of the connectionsetting stored in the storage unit 33 have been changed. If a negativedetermination is made (S425: NO), the process proceeds to S435, and if apositive determination is made (S425: YES), the process proceeds toS430.

In S430, the CPU 32 executes a rewriting process to rewrite the oldsending information stored in the storage unit 37 of the NFCcommunication I/F 36 to new sending information corresponding to thechanged connection setting. Since the contents of the rewriting processhave already been described using FIG. 7, a description thereof isomitted here.

A case will be described, as a specific operation example, in which achange is made in S425 from a first connection setting, which isconnectable with the infrastructure mode and WFD scheme wirelesscommunications, to a second connection setting which is connectable withonly the infrastructure mode wireless communication. In the firstconnection setting, the connection settings of infrastructure mode, WFDscheme, and bluetooth scheme are “connectable”, “connectable”, and“not-connectable” respectively. Consequently, the first and the secondnetwork identification information are included in the connectablenetwork identification information in the sending information beforerewriting in S430. On the other hand, in the second connection setting,the connection settings of infrastructure mode, WFD scheme, andbluetooth scheme are “connectable”, “not-connectable”, and“not-connectable” respectively. Consequently, only the first networkidentification information is included in the connectable networkidentification information in the sending information after rewriting inS430.

In S432, the CPU 32 determines whether to execute the sending processfor sending the rewritten sending information to the communicationdestination device. For example, if the rewriting of the sendinginformation has been performed within a predetermined time from thesending information being most recently sent to the communicationdestination device (S417), it may be determined that the connectionsetting has been changed in response to a verification by the user ofthe contents of the sent sending information, and the sending processmay be executed. If a negative determination is made (S432: NO), theprocess proceeds to S435, and if a positive determination is made (S432:YES), the process proceeds to S434.

In S434, the CPU 32 executes the sending process to send the sendinginformation stored in the storage unit 37 to the communicationdestination device via the NFC scheme wireless communication 153, usingthe RF communication mode. The sending process may be executed withoutreceiving the RF communication mode command described above. That is,the sending process may be executed without performing the operation ofbringing the communication destination device close to the NFCcommunication I/F 36. The sending process may be executed by, e.g.,restarting the NFC communication I/F 36.

In S435, the CPU 32 determines whether processing instructioninformation has been received from the information processing device100. The processing instruction information is information forinstructing the MFP 51 to execute a process using any one type offunction among the various functions such as print process, scanprocess, etc. If the contents of the processing instruction informationare contents to cause the MFP 51 to execute a process using the printfunction, print data may be included in the processing instructioninformation. If a negative determination is made (S435: NO), the processreturns to S413, and if a positive determination is made (S435: YES),the process proceeds to S437.

In S437, the CPU 32 determines whether an error has occurred in thefunction of which processing was instructed in the processinginstruction information. For example, if the contents of the processinginstruction information are contents to cause the MFP 51 to execute aprocess using the print function, the CPU 32 determines whether an errorhas occurred in the printer 19.

If a negative determination is made in S437 (S437: NO), the processproceeds to S439. In S439, the CPU 32 starts executing the variousprocesses based on the received processing instruction information. Forexample, if the processing instruction information instructs the printprocess, the CPU 32 causes the printer 19 to execute a print processusing the print data. Further, e.g., if the processing instructioninformation instructs the scan process, the CPU 32 causes the scanner 20to execute a scan process. In S440, the CPU 32 determines whether anerror has occurred in the process that is being executed. If a negativedetermination is made in S440 (S440: NO), the CPU 32 determines in S442whether that process has been completed. If a negative determination ismade in S442 (S442: NO), the process returns to S440, and if a positivedetermination is made in S442 (S442: YES), the process returns to S413.

On the other hand, if a positive determination is made in S440 (S440:YES), or if a positive determination is made in S437 (S437: YES), theprocess proceeds to S444. In S444, the CPU 32 sends error notificationinformation, indicating that an error has occurred, to the informationprocessing device 100. The error notification information may be sent tothe information processing device 100 using the wireless communicationpath that received the processing instruction information in S435. Inresponse to receiving the error notification information, theinformation processing device 100 may cause the display means 102 todisplay a character string indicating the error contents that occurred.

In S445, the CPU 32 determines whether to overwrite the sendinginformation including the error information in the storage unit 37.Specifically, if an error has occurred in all the functions of whichprocessing can be caused by the print application 121 (e.g., printfunction and scan function), the CPU 32 determines to overwrite thesending information including the error information. An example of acase of such an error occurring is failure or the like of the powersupply or drive circuit of the MFP 51. Further, if an error has occurredin only a part of the functions of which processing can be caused by theprint application 121 (e.g., either one of the print function or scanfunction), the CPU 32 determines not to overwrite the sendinginformation including the error information. Moreover, this case canalso be said to be a case of a type of error occurring where the fact ofbeing unable to execute the function cannot be transmitted to theinformation processing device 100 until wanting to execute a printfunction using the printer 19, or wanting to execute a scan functionusing the scanner 20, is confirmed to the MFP 51 by the informationprocessing device 100.

The determination in S445 may be executed in response to the severity ofthe error. For example, it may be determined to overwrite the sendinginformation including the error information in the storage unit 37 incase of a serious error, and it may be determined to not overwrite thesending information including the error information in case of a minorerror. A serious error is an error causing a state such that a processcannot physically be executed. Examples of a serious error are failureof a print head configuring the printer 19, failure of a document sheettransport unit configuring the scanner 20, etc. Examples of a minorerror are recording paper out, ink out, etc. Determination of theseverity of the error may be made based on error classificationinformation stored in the storage unit 33. The error classificationinformation may e.g., be information in which each type of error thatcan occur in the MFP 51 is classified into serious error or minor error.

If a negative determination is made in S445 (S445: NO), the processreturns to S413, and if a positive determination is made (S445: YES),the process proceeds to S446. In S446, the CPU 32 newly generatessending information. Specifically, the CPU 32 includes, in the devicestatus information, the contents of the error occurring in the MFP 51.The device status information is information included in the sendinginformation that is generated. Then, the CPU 32 overwrites the generatedsending information in the storage unit 37 using the serialcommunication mode, and the process returns to S413.

(Processes Performed by CPU 106 of Information Processing Device 100)

Processes performed by the CPU 106 of the information processing device100 of the present embodiment will be described with reference to FIG. 2to FIG. 4. As an example, operation will be described in the case wherethe information processing device 100 is brought close to the MFP 51. InS110, the CPU 106 determines whether sending information has beenreceived from the MFP 51 via the NFC scheme wireless communication 153.If a negative determination is made (S110: NO), the process returns toS110, and if a positive determination is made (S110: YES), the processproceeds to S112.

In S112, the CPU 106 determines whether the MFP 51 is in the errorstate. The determination may be performed according to whether the errorcontents occurring in the MFP 51 are included in the device statusinformation included in the received sending information. If a positivedetermination is made (S112: YES), the process proceeds to S113. InS113, the print application 121 causes the display means 102 to displayan error image. Then, the process returns to S110. An example of anerror image of such a case is the character string “An error hasoccurred in the MFP. Please touch information processing device again toMFP after MFP error has been resolved.” If an error is occurring in allthe functions of the MFP 51 of which processing can be caused by theprint application 121 (e.g., print function and scan function), or if aserious error is occurring in the MFP 51, the information processingdevice 100 cannot use the functions of the MFP 51 even when havingcommunicated with the MFP 51. In this case, the process to switchwireless communication to communicate with the MFP 51 is useless.Therefore, in the present embodiment, switching of the wirelesscommunication is not performed when the MFP 51 is in a serious errorstate such as being unable to execute a function.

If a negative determination is made in S112 (S112: NO), the processproceeds to S115. In S115, the CPU 106 starts the print application 121.The starting of the print application 121 may be performed by the OS124. The starting of the print application 121 may be performed by theOS 124 based on the sending information identification informationincluded in the received sending information. As described above, thesending information identification information is information indicatingthat the sending information is information used in the printapplication 121. Further, in case there is a plurality of applicationsbeing the start target, the display means 102 may be caused to displayimages representing each of the plurality of applications, and selectionof any one application may be received.

In S120, the print application 121 determines whether the connection ofwireless communication was instructed by the sending informationreceived in S110. The determination may be performed according towhether the communication execution information is included in thereceived sending information. If a negative determination is made (S120:NO), the process proceeds to S125. In S125, the print application 121determines whether the sending information received in S110 isinformation indicating that a network configured to be connectable withthe MFP 51 exists. If the fifth network identification information isnot included in the sending information, it is determined that thesending information is information indicating that a network configuredto be connectable with the MFP 51 exists (S125: YES). Therefore, theprint application 121 is ended. On the other hand, if the fifth networkidentification information is included in the sending information, it isdetermined that the sending information is information indicating that anetwork configured to be connectable with the MFP 51 does not exist(S125: NO). Therefore, the process proceeds to S170.

In S170, the print application 121 causes the display means 102 todisplay an error image. An example of the error image is the characterstring “Please turn on power supply of MFP or turn on wireless settingwhile touching information processing device to MFP”. Then, the processreturns to S110.

On the other hand, if a positive determination is made in S120 (S120:YES), the process proceeds to S140. In S140, the print application 121starts the connection module 122. The operation contents of theconnection module 122 will be described later. In S145, the printapplication 121 notifies the connection module 122 of compatible modelinformation and compatible wireless communication information of theprint application 121. The compatible model information is informationindicating the type of device that can be controlled by the printapplication 121. The compatible wireless communication information isinformation indicating the type of wireless communication that can beused by the print application 121 (e.g., wireless communication of theWFD scheme, wireless communication of the bluetooth scheme, etc.). Ifthe OS 124 is an Android (registered trademark of Google Inc.) OS,communication between the print application 121 and the connectionmodule 122 may be executed using an intent.

In S147, the print application 121 determines whether reply informationhas been received from the connection module 122. If a negativedetermination is made (S147: NO), the process returns to S147, and if apositive determination is made (S147: YES), the process proceeds toS150.

In S150, the print application 121 determines whether communication withthe MFP 51 is possible using any wireless communication scheme. Thedetermination may be performed based on the contents of the replyinformation received from the connection module 122. For example, if thecommunication execution information (S275) has been received as thereply information, it may be determined that infrastructure modewireless communication is enabled. Further, e.g., if communicationdestination identification information relating to WFD scheme wirelesscommunication (S316) has been received as the reply information, it maybe determined that WFD scheme wireless communication is enabled.Further, e.g., if bluetooth setting information (S336) has been receivedas the reply information, it may be determined that bluetooth schemewireless communication is enabled. Further, e.g., if communicationunavailable information (S225) has been received as the replyinformation, it may be determined that wireless communication of anyscheme is not enabled. If a negative determination is made (S150: NO),the process proceeds to S170, and if a positive determination is made(S150: YES), the process proceeds to S155.

In S155, the print application 121 creates the processing instructioninformation. Since the contents of the processing instructioninformation have already been described in S435, a description thereofis omitted here.

In S160, the print application 121 sends the processing instructioninformation to the MFP 51 via a wireless communication formed by theconnection module 122. Then, the print application 121 ends.

(Operation of Connection Module 122)

The operation of the connection module 122 started in S140 will bedescribed using FIG. 3 and FIG. 4. In S210, the connection module 122determines whether the compatible model information and the compatiblewireless communication information have been received from the printapplication 121. If a negative determination is made (S210: NO), theprocess returns to S210, and if a positive determination is made (S210:YES), the process proceeds to S215.

In S215, the connection module 122 determines whether the MFP 51 is adevice that can be controlled by the print application 121. Thedetermination may be performed according to whether the device type ofthe MFP 51 indicated by the device type identification informationincluded in the sending information received in S110 is included in thetype of devices that can be controlled by the print application 121indicated by the compatible model information. If a negativedetermination is made (S215: NO), the process proceeds to S225. In S225,the connection module 122 sends the communication unavailableinformation, indicating that no wireless communication is enabled, tothe print application 121. Then, the connection module 122 ends.

On the other hand, if a positive determination is made in S215 (S215:YES), the process proceeds to S220. In S220, the connection module 122determines whether the MFP 51 is in a state allowing wirelesscommunication to be performed. The determination may be performedaccording to whether the fifth network identification information (i.e.,information indicating that a network configured to be connectable withthe MFP 51 does not exist) is included in the sending informationreceived in S110. If a positive determination is made (S220: YES), theprocess proceeds to S240, and if a negative determination is made (S220:NO), the process proceeds to S225.

In S240, the connection module 122 determines whether the MFP 51 is setso as enable the infrastructure mode wireless communication 154. Thedetermination may be performed according to whether the first networkidentification information (i.e., information identifying theinfrastructure mode wireless communication 154) is included in thesending information received in S110. If a positive determination ismade (S240: YES), the process proceeds to S245.

In S245, the connection module 122 acquires, from the OS 124, the SSIDof the access point with which the information processing device 100 iscurrently connected. In S250, the connection module 122 determineswhether the access point with which the MFP 51 is currently connected,and the access point with which the information processing device 100 iscurrently connected are the same. The determination may be performedaccording to whether the SSID of the access point set as the connectiondestination of the MFP 51, and the SSID of the network with which theinformation processing device 100 is currently connected are the same.The SSID of the access point set as the connection destination of theMFP 51 may be acquired from the communication destination identificationinformation included in the first network identification information inthe sending information received in S110. If a positive determination ismade (S250: YES), the process proceeds to S265, and if a negativedetermination is made (S250: NO), the process proceeds to S255.

In S255, the connection module 122 determines whether an access pointfor switching that can perform connection switching exists. For example,the presence of an access point for switching, this being an accesspoint registered in the access point connection history informationstored in the storage unit 109, may be determined by searching for anaccess point present in the communication range of the wireless LAN_I/F105. If a plurality of access points is detected, the access point withwhich a connection was most recently made may be selected as the accesspoint for switching. If a negative determination is made (S255: NO), theprocess proceeds to S300, and if a positive determination is made (S255:YES), the process proceeds to S260. Moreover, the access pointcorresponding to the SSID represented by the communication destinationidentification information included in the connectable networkidentification information included in the sending information receivedin S110 may be found from the access point connection historyinformation as the access point for switching.

In S260, the connection module 122 switches the connection destinationof the wireless LAN_I/F 105 to the access point for switching.

In S265, the connection module 122 acquires the IP address of the MFP51. For example, the node name of the MFP 51 included in the firstnetwork identification information may be broadcast, and the IP addressof the MFP 51 may be received.

In S270, the connection module 122 establishes the infrastructure modewireless communications 151 and 154 with the MFP 51. In S275, theconnection module 122 sends the communication execution information tothe print application 121. The communication execution information isinformation used for executing the infrastructure mode wirelesscommunications 151 and 154 with the MFP 51. The communication executioninformation may include, e.g., the SSID of the first access point 501,the model name of the MFP 51, the IP address of the MFP 51, etc. Then,the connection module 122 ends.

On the other hand, if a negative determination is made in S240 or S255(S240: NO or S255: NO), the process proceeds to S300. In S300, theconnection module 122 determines whether the MFP 51 is set so as toenable the WFD scheme wireless communication 155. The determination maybe performed according to whether the second network identificationinformation (i.e., information identifying the WFD scheme wirelesscommunication 155) is included in the sending information received inS110. If a positive determination is made (S300: YES), the processproceeds to S305.

In S305, the connection module 122 switches the communication scheme tobe used to the WFD scheme wireless communication 155. In S310, theconnection module 122 reads the communication destination identificationinformation for using the WFD scheme wireless communication 155 from thesecond network identification information included in the sendinginformation received in S110.

In S313, the connection module 122 establishes the WFD scheme wirelesscommunication 155 with the MFP 51. In S316, the connection module 122sends communication destination identification information relating tothe WFD scheme wireless communication to the print application 121.Then, the connection module 122 ends.

On the other hand, if a negative determination is made in S300 (S300:NO), the process proceeds to S320. In S320, the connection module 122determines whether the MFP 51 is set so as to enable the bluetoothscheme wireless communication 156. The determination may be performedaccording to whether the third network identification information (i.e.,information identifying the bluetooth scheme wireless communication 156)is included in the sending information received in S110. If a negativedetermination is made (S320: NO), the process proceeds to S225, and if apositive determination is made (S320: YES), the process proceeds toS325.

In S325, the connection module 122 switches the communication scheme tobe used to the bluetooth scheme wireless communication 156. In S333, theconnection module 122 establishes the bluetooth scheme wirelesscommunication 156 with the MFP 51. In S336, the connection module 122sends bluetooth setting information to the print application 121. TheMAC address is included in the bluetooth setting information. Then, theconnection module 122 ends.

(Achieved Effects)

If the access point to which the information processing device 100 iscurrently connected and the access point to which the MFP 51 iscurrently connected are the same (S250: YES), infrastructure modewireless communication can be performed via that same access point(S270). Thereby, since the network switching process (e.g., S305, S325)does not occur, the time required for communication can be shortened.Further, if the access point to which the information processing device100 is currently connected and the access point to which the MFP 51 iscurrently connected are not the same (S250: NO), it is possible toswitch to another communication scheme set so as to be connectable withthe MFP 51 (S305, S325), and execute a communication. Thereby,communication between the information processing device 100 and the MFP51 can be performed appropriately.

In response to the setting contents defining the network that isconnectable with the MFP 51 being changed (S425: YES), the contents ofthe connectable network identification information included in thesending information stored in the storage unit 37 of the NFCcommunication I/F 36 can be rewritten to the changed setting contents(S430). That is, the setting contents defining the network that isconnectable with the MFP 51, which are stored in the storage unit 37,can be updated in real time. Thereby, even if the setting defining thenetwork that is connectable with the MFP 51 changes, communicationbetween the information processing device 100 and the MFP 51 can beperformed appropriately.

In response to the change of the contents of the connectable networkidentification information included in the sending information stored inthe storage unit 37 of the NFC communication I/F 36 (S425: YES), thesending information including the changed connectable networkidentification information can be sent to the information processingdevice 100 from the MFP 51 (S434). Thereby, since the most recentconnectable network identification information can always be maintainedin the information processing device 100, communication between theinformation processing device 100 and the MFP 51 can be performedappropriately.

The sending information including the communication destinationidentification information needed to perform communication with the MFP51 can be sent to the information processing device 100 from the MFP 51(S417, S110). Thereby, it is possible to appropriately cause theinformation processing device 100 to execute a process for starting toperform a communication with the MFP 51 by using the communicationdestination identification information (S265, S310, S325). Specifically,it is possible to cause the information processing device 100 toestablish the infrastructure mode wireless communications 151 and 154with the MFP 51 (S270) by using the SSID of the first access point 501and the IP address of the MFP 51. Further, it is possible to cause theinformation processing device 100 to establish the WFD scheme wirelesscommunication 155 with the MFP 51 (S313) by using the SSID, encryptionmethod, password, etc. of the WFD network.

The information processing device 100 comprises the NFC communicationI/F 112, and the MFP 51 comprises the NFC communication I/F 36. Thereby,it is possible to cause the information processing device 100 to acquirethe sending information including the connectable network identificationinformation by an intuitive and simple operation such as bringing theinformation processing device 100 close to the MFP 51 (S417, S110).

If a network that is configured to be connectable with the MFP 51 doesnot exist, the fifth network identification information indicating thata network configured to be connectable with the MFP 51 does not existcan be overwritten in the storage unit 37 (S525 or S450). Thereby, thefact that it is not possible to connect with the MFP 51 via a wirelesscommunication can be notified to the information processing device 100(S110), and be displayed on the display means 102 of the informationprocessing device 100 (S170). Therefore, convenience to the user can beincreased. Examples of a network that is configured to be connectablewith the MFP 51 not existing are the case where none of the wirelesscommunications of the MFP 51 is enabled (S522: NO), or the case wherethe power supply of the MFP 51 is off (S420: YES). Further, since theNFC communication I/F 36 functions as an IC tag, the sending informationcan be sent to the information processing device 100 in response to theinformation processing device 100 coming close even after the powersupply of the MFP 51 has been turned off. Consequently, when the powersupply of the MFP 51 is off (S420: YES), it is possible to notify theinformation processing device 100 that it is not possible to connectwith the MFP 51 via a wireless communication, due to the power supply ofthe MFP 51 being in an off state, by overwriting the sending informationincluding the fifth network identification information in the storageunit 37 (S450), even after the power supply of the MFP 51 has beenturned off.

If an error has occurred in all the functions which the printapplication 121 can be made to process (S445: YES), processing for theinformation processing device 100 to start a communication with the MFP51 becomes unnecessary, because the MFP 51 cannot be made to execute aprocess using any function. Therefore, in this case, sending informationthat includes the contents of the error occurring in the MFP 51 can beoverwritten in the storage unit 37 (S446). Thereby, since it is possibleto recognize that the MFP 51 is in the error state (S112: YES), theinformation processing device 100 can prevent the execution of theunnecessary process of starting a communication with the MFP 51.

If an error has occurred in only a part of the functions of whichprocessing can be caused by the print application 121 (S445: NO), theprocessing instruction information is received from the informationprocessing device 100 (S435: YES), and it is necessary to confirmwhether an error is occurring in the function of which process executionwas instructed by the processing instruction information. Therefore, inthis case, sending information that includes the contents of the erroroccurring in the MFP 51 need not be overwritten in the storage unit 37(S445: NO). Thereby, since the communication with the MFP 51 can bestarted (S112: NO), the information processing device 100 can send theprocessing instruction information to the MFP 51. Then, if it isdetermined that an error is occurring in the function of which processexecution was instructed by the processing instruction information(S437: YES), the error notification information can be sent to theinformation processing device 100 (S444). Thereby, it is possible tonotify the user that, due to an error, the function of which processexecution was instructed by the user, cannot be used.

The connection module 122 can be started by being called by the printapplication 121, which is a higher-level application (S115). Then, theconnection module 122 can execute a wireless communication connectionprocess (S210 to S336), and return information identifying theconnection result to the print application 121 (S275, S225, S316, S336).Thereby, since the connection module 122 can be shared by a plurality ofhigher-level applications, the functions of the higher-levelapplications can be simplified.

If the type of the MFP 51 is a type not compatible with the printapplication 121 (S215: NO), it is possible to cause the display means102 of the information processing device 100 to display an imageindicating that a wireless connection cannot be made with the MFP 51(S150: NO, S170). Thereby, convenience to the user can be increased.

When the access point to which the MFP 51 is currently connected and theaccess point to which the information processing device 100 is currentlyconnected are not the same (S250: NO), the connection module 122 canswitch to the access point for switching, allowing wirelesscommunication to be performed (S260). For example, if the MFP 51 iscurrently connected to the second access point 502, and the informationprocessing device 100 is currently connected to the first access point501, the connection module 122 can switch the connection destination ofthe wireless LAN_I/F 105 to the second access point 502 (S260). Thereby,the information processing device 100 and the MFP 51 can communicate viawireless communications 152 and 157. Therefore, redundancy can besupplied to the network 10.

While specific embodiments of the present invention have been describedin detail above, such description is for illustrative purposes only andis not intended to limit the scope and claims of the invention.Techniques described in the claims of the invention include variousmodifications and changes made to the specific examples illustratedabove. Modifications will be described below.

(Modifications)

In the present embodiment, a case was described in which the WFD schemewireless communication was used in preference to the bluetooth schemewireless communication, but the case is not limited to thisconfiguration. The bluetooth scheme wireless communication may be usedin preference to the WFD scheme wireless communication. In this case, ifa negative determination is made in S240 or S255 (S240: NO, or S255:NO), the process may proceed to S320. Then, if a negative determinationis made in S320 (S320: NO), the process may proceed to S300.

In the present embodiment, the description was given using the MFP 51 asan example of the “communication device” that communicates with theinformation processing device 100. However, the case is not limited tothis configuration. The “communication device” may be a label printer,scanner, copier, portable terminal, PC, server, etc.

The timing at which the connection module 122 acquires, from the OS 124,the SSID of the network with which the information processing device 100is currently connected is not limited to the timing of S245. Forexample, the SSID of the network may be acquired at the timing when theconnection module 122 is started.

In S450, the information included in the connectable networkidentification information is not limited to the fifth networkidentification information. Information indicating that the power supplyof the MFP 51 is off may be included.

The determination process executed in S112 is not limited to beingexecuted by the print application 121, but may be executed by theconnection module 122. In this case, in S220, the connection module 122may additionally execute the determination process executed in S112.

In S530, it may be determined whether only a setting enabling the WFDscheme wireless communication 155 is being performed. Then, if only asetting enabling the WFD scheme wireless communication 155 is beingperformed, sending information including the second networkidentification information may be overwritten in the storage unit 37.

The setting for using the infrastructure mode wireless communication 157may be performed by the MFP 51. In this case, in S535 and S540, thefourth network identification information (i.e., information identifyingthe infrastructure mode wireless communication 157) may be includedinstead of the first network identification information in theconnectable network identification information.

Communication between the first access point 501 and the MFP 51, andcommunication between the second access point 502 and the MFP 52 may beperformed either wirelessly or wired.

The information processing device 100 may have a configurationconnectable with an external memory such as a memory card. Then, theconfiguration may be such that various data is stored in the externalmemory instead of the storage unit 109.

In the embodiment described above, the CPU 106 of the informationprocessing device 100 realizes the processes of FIG. 2 to FIG. 4 byexecuting the program 120 (i.e., software) within the storage unit 109.Instead, at least one of the processes of FIG. 2 to FIG. 4 may berealized by hardware such as a logic circuit.

Furthermore, it is to be understood that the technical elementsdescribed in the present specification and the drawings exhibittechnical usefulness solely or in various combinations thereof and shallnot be limited to the combinations described in the claims at the timeof filing. The techniques illustrated in the present specification andthe drawings are to achieve a plurality of objectives at the same time,and technical usefulness is exhibited by attaining any one of suchobjectives.

What is claimed is:
 1. A communication device comprising: a firstwireless interface configured to perform communication with aninformation processing device using a first wireless communicationscheme, the first wireless interface comprising a storage unit that isconfigured to store specific information, and the first wirelessinterface being configured to function as an Integrated Circuit tag; asecond wireless interface configured to perform communication with theinformation processing device using a second wireless communicationscheme different from the first wireless communication scheme, thesecond wireless interface being configured to establish a first wirelessnetwork and a second wireless network that is different from the firstwireless network, the first wireless network being a network to whichthe communication device, the information processing device, and anaccess point belong, and the second wireless network being a networkbetween the information processing device and the communication devicewithout intervention of the access point; and a control device coupledto the first wireless interface and the second wireless interface,wherein in a first case where the communication device does not use thesecond wireless network: the first wireless interface is configured toperform sending the specific information, which is stored in the storageunit, to the information processing device; and after the specificinformation has been sent and in a case where the first wireless networkis established, the control device is configured to performcommunicating object data with the information processing device byusing the second wireless interface via the access point in the firstwireless network, and in a second case where the communication deviceuses the second wireless network: the first wireless interface isconfigured to perform sending network identification information to theinformation processing device, the network identification informationbeing for establishing the second wireless network; after the networkidentification information has been sent, the control device is furtherconfigured to perform establishing the second wireless network with theinformation processing device via the second wireless interface; andafter the second wireless network has been established, the controldevice is further configured to perform communicating object data withthe information processing device by using the second wireless interfacein the second wireless network.
 2. The communication device according toclaim 1, wherein the specific information being used by the informationprocessing device for determining whether the communication device andthe information processing device are currently communicable by usingthe second wireless interface in the first wireless network, and thecontrol device is configured to perform, in a case where it isdetermined that the communication device and the information processingdevice are currently communicable by using the second wireless interfacein the first wireless network, communicating the object data with theinformation processing device by using the second wireless interface viathe access point in the first wireless network.
 3. The communicationdevice according to claim 1, wherein the specific information includescommunication destination identification information for identifying thecommunication device.
 4. The communication device according to claim 1,wherein the specific information includes an SSID of the access point.5. The communication device according to claim 1, wherein the specificinformation includes a MAC address of the communication device.
 6. Thecommunication device according to claim 1, wherein the specificinformation includes a node name of the communication device.
 7. Thecommunication device according to claim 1, wherein the control device isfurther configured to perform storing new information in the storageunit when a specific condition is satisfied in the communication device.8. The communication device according to claim 7, wherein the specificcondition includes at least one of: power state of the communicationdevice shifting from ON to OFF or from OFF to ON; and a state of thecommunication device shifting from an error state to a non-error statewhere the error has been resolved or from the non-error state to theerror state.
 9. The communication device according to claim 1, whereinthe first wireless interface is an interface executing a communicationin accordance with a Near Field Communication standard.
 10. Thecommunication device according to claim 1, wherein the communicationdevice further comprises a printer, the object data includes print data,and the control device is further configured to perform causing theprinter to execute a print process using the received print data. 11.The communication device according to claim 1, wherein the communicationdevice further comprises a scanner, the object data includes scan data,the control device is further configured to perform causing the scannerto execute a scan process and generate the scan data, and thecommunicating of the object data includes sending the scan data to theinformation processing device via the second wireless interface.
 12. Thecommunication device according to claim 1, wherein the second wirelessinterface is configured to perform communication based on at least oneof the standard of 802.11 of IEEE (abbreviation of The Institute ofElectrical and Electronics Engineers, Inc.), and a standard equivalentto the standard of 802.11 of IEEE.
 13. A non-transitorycomputer-readable storage medium storing instructions for an informationprocessing device, the information processing device comprising: a firstwireless interface configured to perform communication with a specificwireless interface of a communication device using a first wirelesscommunication scheme, the specific wireless interface comprising astorage unit and being configured to function as an Integrated Circuittag, and the storage unit being configured to store specificinformation; a second wireless interface configured to performcommunication with the communication device using a second wirelesscommunication scheme, the second wireless interface being configured toestablish a first wireless network and a second wireless network that isdifferent from the first wireless network, the first wireless networkbeing a network to which the communication device, the informationprocessing device, and an access point belong, and the second wirelessnetwork being a network between the information processing device andthe communication device without intervention of the access point; and aprocessor, wherein in a first case where the communication device doesnot use the second wireless network, and wherein the instructions, whenexecuted by the processor, cause the information processing device toperform: receiving the specific information, which is stored in thestorage unit, from the communication device via the first wirelessinterface; after the specific information has been received and in acase where the first wireless network is established, communicatingobject data with the communication device by using the second wirelessinterface via the access point in the first wireless network; andwherein in a second case where the communication device uses the secondwireless network, and wherein the instructions, when executed by theprocessor, cause the information processing device to perform: receivingnetwork identification information from the communication device via thefirst wireless interface, the network identification information beingfor establishing the second wireless network; after the networkidentification information has been received, establishing the secondwireless network with the communication device via the second wirelessinterface; and after the second wireless network has been established,communicating object data with the communication device by using thesecond wireless interface in the second wireless network.
 14. Thenon-transitory computer-readable storage medium according to claim 13,wherein the specific information being used by the informationprocessing device for determining whether the communication device andthe information processing device are currently communicable by usingthe second wireless interface in the first wireless network, and theinstructions are further configured to cause the information processingdevice to perform, in a case where it is determined that thecommunication device and the information processing device are currentlycommunicable by using the second wireless interface in the firstwireless network, communicating the object data with the communicationdevice by using the second wireless interface via the access point inthe first wireless network.
 15. The non-transitory computer-readablestorage medium according to claim 11, wherein the specific informationincludes communication destination identification information foridentifying the communication device.
 16. The non-transitorycomputer-readable storage medium according to claim 11, wherein thespecific information includes an SSID of the access point.
 17. Thenon-transitory computer-readable storage medium according to claim 11,wherein the specific information includes a MAC address of thecommunication device.
 18. The non-transitory computer-readable storagemedium according to claim 11, wherein the specific information includesa node name of the communication device.
 19. The non-transitorycomputer-readable storage medium according to claim 11, wherein thefirst wireless interface is an interface executing a communication inaccordance with a Near Field Communication standard.
 20. An informationprocessing device comprising: a first wireless interface configured toperform communication with a specific wireless interface of acommunication device using a first wireless communication scheme, thespecific wireless interface comprising a storage unit and beingconfigured to function as an Integrated Circuit tag, and the storageunit being configured to store specific information; a second wirelessinterface configured to perform communication with the communicationdevice using a second wireless communication scheme, the second wirelessinterface being configured to establish a first wireless network and asecond wireless network that is different from the first wirelessnetwork, the first wireless network being a network to which thecommunication device, the information processing device, and an accesspoint belong, and the second wireless network being a network betweenthe information processing device and the communication device withoutintervention of the access point; and a control device coupled to thefirst wireless interface and the second wireless interface, wherein in afirst case where the communication device does not use the secondwireless network, the control device is configured to perform: receivingthe specific information, which is stored in the storage unit, from thecommunication device via the first wireless interface; and after thespecific information has been received and in a case where the firstwireless network is established, communicating object data with thecommunication device by using the second wireless interface via theaccess point in the first wireless network; and wherein in a second casewhere the communication device uses the second wireless network, thecontrol device is configured to perform: receiving networkidentification information from the communication device via the firstwireless interface, the network identification information being forestablishing the second wireless network; after the networkidentification information has been received, establishing the secondwireless network with the communication device via the second wirelessinterface; and after the second wireless network has been established,communicating object data with the communication device by using thesecond wireless interface in the second wireless network.